package egs;
 class Stu {
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}


public class encapsulation {
	public static void main(String[] args) {
		Stu o=new Stu();
		o.setName("meeee");
		System.out.println(o.getName());

	}

}
